package com.xiaowei.gym.gymjsp.ware.dao;

import com.xiaowei.gym.gymjsp.ware.entity.GymMenuEntity;

import java.util.List;

public interface GymMenuDao {

    List<GymMenuEntity> getAllMenus();
    GymMenuEntity getMenuById(int id);
    void addMenu(GymMenuEntity menu);
    void updateMenu(GymMenuEntity menu);
    void deleteMenu(int id);
}
